package com.java.demo.controller;

import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration // 更简单地实现了 Bean 的存储
public class StudentController5 {
    public void sayHi() {
        System.out.println("do StudentController5 sayHi()");
    }
}
